org: Fix security prompt for downloading remote resource
authorIhor Radchenko <yantar92@posteo.net>
Fri, 2 Feb 2024 19:59:41 +0000 (20:59 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 17 Feb 2024 17:31:28 +0000 (19:31 +0200)
commite56f0ef51bfdd0e03e817670754bc813fb3702a2
tree6e5d7cc12fc5506b72169ccaf64dacc81c6c60d8
parent65ba3274652a4dac37f41f872330e391cd511ae1
org: Fix security prompt for downloading remote resource

* lisp/org.el (org--confirm-resource-safe): Do not assume that
resource is safe when user replies "n" (do not download).

Reported-by: Max Nikulin <manikulin@gmail.com>
Link: https://orgmode.org/list/upj6uk$b7o$1@ciao.gmane.io
lisp/org/org.el